package com.xjc.demo.controller;

import com.xjc.demo.bean.Person;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author:谢君臣
 * @Date:2022/12/25-18:26
 * @version:1.0
 * @function: 测试
 */

@RestController
public class TestController {
    @RequestMapping("/test")
    public Person test(){
        Person person = new Person();
        person.setName("张三");
        return person;
    }
}
